<%@page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>RFID管理系统</title>
    <!-- Bootstrap -->
    <%-- <meta name="viewport" content="width=device-width,initial-scale=1.0,
     minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>--%>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="${PATH}/css/dashboard.css" rel="stylesheet">
    <link href="${PATH}/css/home.css" rel="stylesheet">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="${PATH}/js/jQuery-3.5.1.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="${PATH}/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${PATH}/js/include.js"></script>
    <script type="text/javascript" src="${PATH}/js/userHome.js"></script>
    <style>
        table th, tr {
            text-align: center;
        }
    </style>
    <script>
        userPage("${userLogin.rid}", 'null', 1, 10);
    </script>
</head>
<style>
    body {
        width: 100%;
        height: 100%;
    }

    .z {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-top: 90px;
    }

    .x {
        background: #e20d9b;
    }
</style>
<body>
<div id="header">
    <%--头部--%>
</div>

<div class="z">
    <div class="table-responsive col-sm-12  col-md-10 col-xs-5">
        <div class="tab-content" id="incloud">
            <h2 style="text-align: center;margin-top: 50px">访问记录</h2>

            <div class="container form-inline">
                <div class="form-group">
                    <label for="timer">时&nbsp;&nbsp;间：</label>
                    <input type="date" id="timer" class="form-control" min="2020-01-01" max="2099-01-01"/>
                </div>
                <input type="hidden" id="Srid" value="${userLogin.rid}">
                <button type="submit" id="time_submit" class="btn btn-default">搜&nbsp;&nbsp;索</button>
            </div>

            <div class="container">

                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>编&nbsp;号</th>
                        <th>卡 号</th>
                        <th>姓&nbsp;&nbsp;&nbsp;&nbsp;名</th>
                        <th>访问时间</th>
                        <th>门&nbsp;号</th>
                    </tr>
                    </thead>
                    <tbody id="UTable">
                    <tr>
                        <td>1,001</td>
                        <td>Lorem</td>
                        <td>ipsum</td>
                        <td>dolor</td>
                        <td>sit</td>
                    </tr>
                    </tbody>
                </table>

                <nav aria-label="Page navigation">
                    <div class="page_num_inf">
                        <i></i> 共
                        <span id="totalPage">0</span> 页 <span id="totalCount">0</span> 条
                    </div>
                    <ul id="paging" class="pagination">
                        <!-- <li>
                             <a href="#" aria-label="Previous">
                                 <span aria-hidden="true">&laquo;</span>
                             </a>
                         </li>
                         <li class="active"><a href="#">1</a></li>
                         <li><a href="#">2</a></li>
                         <li>
                             <a href="#" aria-label="Next">
                                 <span aria-hidden="true">&raquo;</span>
                             </a>
                         </li>-->
                    </ul>
                </nav>
            </div>

        </div>
    </div>
</div>
<nav class="navbar navbar-default ">
    <div class="container-fluid">
        <jsp:include page="footer.jsp"></jsp:include>
    </div>
</nav>

</body>
</html>
